package com.netcracker.studportal.server.main_test;

import com.netcracker.studportal.server.util.FactoryDAO;

public class MainDAOFactory {
	public static void main(String args[]){
		FactoryDAO dao=new FactoryDAO();
		
		try {		
			System.out.println(dao.getExamDAO().getById(new Long(1)).getExam_date());
			//System.out.println(dao.getFacultyDAO().getById(new Long(1)).getName());
			//System.out.println(dao.getMaterialDAO().getById(new Long(1)).getName());
			//System.out.println(dao.getProfessorDAO().getById(new Long(10)).getFirst_name());
			//System.out.println(dao.getStudentDAO().getById(new Long(1)).getFirst_name());
			//System.out.println(dao.getSubjectDAO().getById(new Long(2)).getName());
			//System.out.println(dao.getUniversityDAO().getById(new Long(1)).getName());
			//System.out.println(dao.getUsersDAO().getById(new Long(1)).getLogin());	
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
